package com.irdstudio.efp.rule.service.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 商户实体类
 * @author cyg
 *
 */
public class MerchantEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 商户号 */
	private String merchantCode;
	/** 合作额度 */
	private BigDecimal cooperaLimit;
	/** 合作余额 */
	private BigDecimal cooperaBalance;
	/** 每日进件上限 */
	private int dayLoanNumLimit;
	/** 上次规则触发时间 MAP , key: ruleId , value : 触发日期 */
	private Map<String, String> lastTriggerRules;
	/** 商户下进件的消费贷款 */
	private List<ConsumLoanEntity> consumeLoans;
	
	public String getMerchantCode() {
		return merchantCode;
	}
	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}
	public BigDecimal getCooperaLimit() {
		return cooperaLimit;
	}
	public void setCooperaLimit(BigDecimal cooperaLimit) {
		this.cooperaLimit = cooperaLimit;
	}
	public BigDecimal getCooperaBalance() {
		return cooperaBalance;
	}
	public void setCooperaBalance(BigDecimal cooperaBalance) {
		this.cooperaBalance = cooperaBalance;
	}
	public List<ConsumLoanEntity> getConsumeLoans() {
		return consumeLoans;
	}
	public void setConsumeLoans(List<ConsumLoanEntity> consumeLoans) {
		this.consumeLoans = consumeLoans;
	}
	public int getDayLoanNumLimit() {
		return dayLoanNumLimit;
	}
	public void setDayLoanNumLimit(int dayLoanNumLimit) {
		this.dayLoanNumLimit = dayLoanNumLimit;
	}

	public Map<String, String> getLastTriggerRules() {
		return lastTriggerRules;
	}

	public void setLastTriggerRules(Map<String, String> lastTriggerRules) {
		this.lastTriggerRules = lastTriggerRules;
	}
}
